<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cadastro requisito: Tipo</title>

</head>
<body>
	<fieldset>
		<legend>Tipos de Requisitos</legend>
		
		<form  action="/requisiteworks/${projeto}/cadastro.do" method="post" >
			<table class="form">
				<tr>
					<td>
						<label>Tipo: </label>
					</td>
					<td>
						<select name="tipo">
							<c:forEach items="${tipoRequisitoList}" var="tipo">
								<option value="${tipo.numero}">${tipo.nome}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
			</table>
			
			<button type="submit">Seleciona</button>
		</form>
	</fieldset>
</body>
</html>